package com.buyingtickets.service;

import com.buyingtickets.entity.Type;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TypeBiz {
    public List<Type> queryByDingDanZhuangTai();//订单状态类型
    public List<Type> queryByChePiaoZhuangTai();//车票状态类型
    /**
     * 类型、类型名查询类型id
     * @param tclass 类型
     * @param tname 类型名
     * @return
     */
    int queryByClassAndName(String tclass,String tname);
    List<Type> queryByCalss(String tclass);
}
